// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false


import axios from 'axios'
//设置请求的根路径
axios.defaults.baseURL = "http://127.0.0.1:8001/blog/"
axios.defaults.timeout = 600000
Vue.prototype.$http = axios

import { API_URLS} from './api'


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
